package feeinterface.modeldb;
import java.util.*;

/*********************************************
针对短信或彩信类通道的特殊附加信息表
***********************************************/
public class ChannelSms{

	private Integer MtType;/*remark:下行方式，0：SP下行；1：我们下行，下行内容我们提供； 2: 我们下行，下行内容SP提供;length:10*/
	private String Updator;/*remark:更新者姓名;length:30*/
	private Integer ValidateFlag;/*remark:0：不需要动态验证，1为服务器验证[不规则动态]，2是客户端验证[规则动态];length:10*/
	private Integer ChannelID;/*remark:通道id;length:10*/
	private String CustomerService;/*remark:通道客服信息，此信息会添加到下行内容后;length:50*/
	private Date UpdateTime;/*remark:添加或更新时间;length:19*/
	private Integer SmsLen;/*remark:如果是模糊通道（DoublePrecision=0），则为指令的最大长度；如果此模糊通道没有限制最大长度，则为短信的最大长度（70）。如果DoublePrecision=1，则此字段没有意义;length:10*/
	private String SmsExtCmdAddrList;/*remark:如果通道为多指令通道，则此字段存放附加指令和地址信息。格式：Cmd1@@DestAddr1=@=Cmd2@@DestAddr2=@=...;length:300*/
	private Integer ChannelSmsSno;/*remark:流水号;length:10*/
	private String ChannelMtUrl;/*remark:SP下行接口地址，当向sp通道发送下行数据时要用，格式如：http://61.145.114.21:8090/receive/receive.aspx?ClientCode=youle03&UID=youle&PWD=youle123&Phone=<mobile>&ToPhone=<mobile>&ServiceID=<service>&SpNumber=<spport>&LinkID=<linkid>&SendMsg=<msg>;length:255*/
	private Integer DoublePrecision;/*remark:是否双精确，1：是，0：不是;length:10*/
	private Integer ChannelMtSend;/*remark:如果是我们下行（MtType为1，2），0：异步发送下行  1：立即响应下行 ; 异步响应: 是在SP通过HTTP请求发上行数据我们接收后，我们把下行数据组装到ChannelMtUrl里，然后把此条链接存入ChannelSendMt表，通过定时器异步发送HTTP get请求把下行数据发给给SP；立即响应下行：是在SP通过HTTP请求发上行数据到通道状态服务器时立即把下行数据发给sp。;length:10*/

	public void setMtType(Integer MtType){
		this.MtType = MtType;
	}
	public Integer getMtType(){
		return MtType;
	}
	public void setUpdator(String Updator){
		this.Updator = Updator;
	}
	public String getUpdator(){
		return Updator;
	}
	public void setValidateFlag(Integer ValidateFlag){
		this.ValidateFlag = ValidateFlag;
	}
	public Integer getValidateFlag(){
		return ValidateFlag;
	}
	public void setChannelID(Integer ChannelID){
		this.ChannelID = ChannelID;
	}
	public Integer getChannelID(){
		return ChannelID;
	}
	public void setCustomerService(String CustomerService){
		this.CustomerService = CustomerService;
	}
	public String getCustomerService(){
		return CustomerService;
	}
	public void setUpdateTime(Date UpdateTime){
		this.UpdateTime = UpdateTime;
	}
	public Date getUpdateTime(){
		return UpdateTime;
	}
	public void setSmsLen(Integer SmsLen){
		this.SmsLen = SmsLen;
	}
	public Integer getSmsLen(){
		return SmsLen;
	}
	public void setSmsExtCmdAddrList(String SmsExtCmdAddrList){
		this.SmsExtCmdAddrList = SmsExtCmdAddrList;
	}
	public String getSmsExtCmdAddrList(){
		return SmsExtCmdAddrList;
	}
	public void setChannelSmsSno(Integer ChannelSmsSno){
		this.ChannelSmsSno = ChannelSmsSno;
	}
	public Integer getChannelSmsSno(){
		return ChannelSmsSno;
	}
	public void setChannelMtUrl(String ChannelMtUrl){
		this.ChannelMtUrl = ChannelMtUrl;
	}
	public String getChannelMtUrl(){
		return ChannelMtUrl;
	}
	public void setDoublePrecision(Integer DoublePrecision){
		this.DoublePrecision = DoublePrecision;
	}
	public Integer getDoublePrecision(){
		return DoublePrecision;
	}
	public void setChannelMtSend(Integer ChannelMtSend){
		this.ChannelMtSend = ChannelMtSend;
	}
	public Integer getChannelMtSend(){
		return ChannelMtSend;
	}

}